﻿@model Irandeb4.Models.Product

@{
    ViewBag.Title = "Delete";
}

<h2>Eliminar</h2>

<h3>¿Esta seguro que  quiere eliminar el producto?</h3>
<fieldset>
    <legend>Product</legend>

    <div class="display-label"><b>Nombre</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
    <br />

    <div class="display-label"><b>Tipo</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Type)
    </div>
    <br />

    <div class="display-label"><b>Descripción</b></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Eliminar" /> |
        @Html.ActionLink("Volver a la lista", "Search")
    </p>
}
